package com.hl.sfzy.mapper.course;

import com.hl.sfzy.entity.course.Coursemark;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author fxy
* @description 针对表【courseMark(课程评价表，存储用户对课程的评价信息)】的数据库操作Mapper
* @createDate 2024-09-10 10:32:02
* @Entity com.hl.sfzy.entity.course.Coursemark
*/
@Mapper
@Repository
public interface CoursemarkMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Coursemark record);

    int insertSelective(Coursemark record);

    Coursemark selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Coursemark record);

    int updateByPrimaryKey(Coursemark record);

    List<Coursemark> selectAllByCourseId(Long id);



}
